<template>
    <div>
        <!-- 我是子元素--{{abc}}--{{bbb}} -->
        <!-- <button @click="sonfun">anniu</button> -->
        <div class="ex"></div>
    </div>
</template>

<script>
import {Abc} from "../global.js"
export default {
    data(){
        return{
            msg1:'son',
            msg2:'son2',
            msg3:'son3'
        }
    },
    props:['abc','bbb'],
    mounted(){
        new Abc().$mount(".ex")
        // console.log(this.abc);
    },
    methods:{
        sonfun(){
            this.$emit('sonfun',this.msg1,this.msg2)
        }
    }
}
</script>

<style>

</style>
